package org.emavaj.sanguosha.model.constants;

public interface Opercation {

	String OP_TEST_SERVER = "OP_TEST_SERVER";
	String OP_CONNECT = "OP_CONNECT";
	/**
	 * 更新玩家，需要新的玩家信息
	 */
	String OP_UPDATE_PLAYERS = "OP_UPDATE_PLAYERS";
	/**
	 * 初始化客户端操作，需要客户端玩家ID+总人数
	 */
	String OP_INIT_CLIENT = "OP_INIT_CLIENT";
	/**
	 * 聊天信息
	 */
	String OP_SEND_MESSAGE = "OP_SEND_MESSAGE";
	String OP_SEND_CHAT_MESSAGE = "OP_SEND_CHAT_MESSAGE";
	/**
	 * 分配身份操作，需要传递目标玩家身份+主公位置index
	 */
	String OP_DISTRIBUTE_ROLE = "OP_DISTRIBUTE_ROLE";
	/**
	 * 主公选择角色，需要传递主公位置+3个主公角色信息VO+2个武将角色信息VO
	 */
	String OP_DISTRIBUTE_LORD_CHARACTER = "OP_DISTRIBUTE_LORD_CHARACTER";
	String OP_DISTRIBUTE_CHARACTER = "OP_DISTRIBUTE_CHARACTER";
	String OP_FINISH_CHOOSING_LORD_CHARACTER = "OP_FINISH_CHOOSING_LORD_CHARACTER";
	String OP_FINISH_CHOOSING_CHARACTER = "OP_FINISH_CHOOSING_CHARACTER";
	String OP_DISTRIBUTE_CARD = "OP_DISTRIBUTE_CARD";
	String OP_UPDATE_PLAYERS_INFO = "OP_UPDATE_PLAYERS_INFO";
	String OP_PHASE_START = "OP_PHASE_START"; //回合开始
	String OP_PHASE_JUDGE_BEGIN = "OP_PHASE_JUDGE_BEGIN"; //判定阶段开始
	String OP_PHASE_JUDGE_END = "OP_PHASE_JUDGE_END"; //判定阶段结束
	String OP_PHASE_DRAW_BEGIN = "OP_PHASE_DRAW_BEGIN"; //摸牌阶段开始
	String OP_PHASE_DRAW_END = "OP_PHASE_DRAW_END"; //摸牌阶段结束
	String OP_PHASE_PLAY_BEGIN = "OP_PHASE_PLAY_BEGIN"; //出牌阶段开始
	String OP_PHASE_PLAY_END = "OP_PHASE_PLAY_END"; //出牌阶段结束
	String OP_PHASE_DISCARD_BEGIN = "OP_PHASE_DISCARD_BEGIN"; //弃牌阶段开始
	String OP_PHASE_DISCARD_END = "OP_PHASE_DISCARD_END"; //弃牌阶段结束
	String OP_ADD_EQUIPMENT = "OP_ADD_EQUIPMENT";
	String OP_DISCARD = "OP_DISCARD";//弃牌
	
	String OP_OFFER_CARD_TO = "OP_OFFER_CARD_TO";
	String OP_FEEDBACK = "OP_FEEDBACK";
	
	String OP_DECREASE_LIFE = "OP_DECREASE_LIFE";//减血
	
	String OP_OFFLINE = "OP_OFFLINE"; //客户端离线
	String OP_SERVER_STOP = "OP_SERVER_STOP";//服务器关闭
	
	String OP_EAT_PEACH = "OP_EAT_PEACH";//吃桃

}
